<?php namespace Zders\Customtools\Classes;



class RowsType
{

    use \System\Traits\AssetMaker;
    use \System\Traits\ViewMaker;

    public function __construct($path)
    {
        $class_file = basename($path);
        $path = substr($path, 0, strpos($path, $class_file)-1);
        $dir = strtolower(str_replace('.php', '', $class_file));
        $this->addViewPath($path.'\\'.$dir.'\\'.'partials');
    }
}
